package com.bysj.yqsht.service;

import com.bysj.yqsht.bean.Subject;
import com.bysj.yqsht.bean.extend.SubjectExtend;

import java.util.List;

public interface ISubjectService {
    List<Subject> findAll();

    List<Subject> findpage(int pageNum,int limit);

    void saveOrUpdate(Subject subject);

    void deleteById(long id);

    List<SubjectExtend> selectWithClass();
}
